package com.willcode.demo.orm.hibernate.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author Will
 */
@Entity
@Data
@Table(name = "user")
public class User  {

    @Id
    private String id;

    private String name;

    private Integer age;

    private String email;

}
